{% extends 'base.html' %}
{% block page-main %}
    <div class="panel-body">


        <style>
            .wcp-coin-flag {
                width: 1.2em;
                height: 1.2em;
                margin-top: -3px;
            }

            .wcp-typetop {
                font-size: 0.8em;
                position: relative;
                top: -2px;
            }
        </style>

        <div class="row ">
            <div class="col-sm-12">
                <div style="margin-bottom: 16px;">
			<span class="glyphicon glyphicon-fire  column_title">&nbsp;检索到{{ s_articles.count }}条搜索结果
			</span>
                </div>
            </div>
        </div>
        <hr style="margin-left: -16px; margin-right: -16px;">
        {#循环搜索结果#}
        {% for article in s_articles %}
            <div class="row">
                <div class="col-sm-12">
                    <div class="col-sm-12 doc_node">
                        <div class="media">

                            <div class="media-body">
                                <div style="margin-left: 4px;" class="pull-left">
                                    <div class="doc_node_title_box">

                                        <a class="doc_node_title_min" target="_blank"
                                           href="{% url 'article' article.pk %}">

                                            <font color="red">{{ article.title }}</font>
                                        </a>

                                    </div>
                                    <div class="doc_node_content_box">


                                        <p class="doc_node_content">
                                            {{ article.abstract }}</p>


                                    </div>
                                    <div class="side_unit_info side_unit_info_left_box">

                                        <!-- 实名 -->
                                        <a target="_blank"> <span title="" class="side_unit_info">作者:  {{ article.author.name }}</span>
                                        </a>

                                    </div>
                                    <br>

                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-12">
                        <hr class="hr_split">
                    </div>

                </div>
            </div>
        {% endfor %}
        

        {#循环搜索结果#}
    </div>
{% endblock %}